package com.ssrs.platform.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ssrs.platform.model.entity.Message;
import com.ssrs.platform.mapper.MessageMapper;
import com.ssrs.platform.model.query.AllUserDataBindQuery;
import com.ssrs.platform.service.IMessageService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ssrs
 * @since 2020-11-15
 */
@Service
public class MessageServiceImpl extends ServiceImpl<MessageMapper, Message> implements IMessageService {

    @Override
    public IPage<AllUserDataBindQuery> alluserdatabind(Page<AllUserDataBindQuery> page, Map<String, Object> params) {
        return baseMapper.alluserdatabind(page, params);
    }

    @Override
    public List<AllUserDataBindQuery> selecteduserdatabind(Map<String, Object> params) {
        return baseMapper.selecteduserdatabind(params);
    }
}
